package com.darknight.ftp.ftpServer.ftplet;

import org.apache.ftpserver.ftplet.*;

import java.io.IOException;

/**
 * Created by DarKnight on 2017/5/15.
 */
public class CommonFtplet extends DefaultFtplet {
    @Override
    public void init(FtpletContext ftpletContext) throws FtpException {
//        System.out.println("====================================== init");
        super.init(ftpletContext);
    }

    @Override
    public void destroy() {
//        System.out.println("====================================== destroy");
        super.destroy();
    }

    @Override
    public FtpletResult onConnect(FtpSession session) throws FtpException, IOException {
//        System.out.println("====================================== onConnect");
        return super.onConnect(session);
    }

    @Override
    public FtpletResult onDisconnect(FtpSession session) throws FtpException, IOException {
//        System.out.println("====================================== onDisconnect");
        return super.onDisconnect(session);
    }

    @Override
    public FtpletResult beforeCommand(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== beforeCommand");
        return super.beforeCommand(session, request);
    }

    @Override
    public FtpletResult afterCommand(FtpSession session, FtpRequest request, FtpReply reply) throws FtpException, IOException {
//        System.out.println("====================================== afterCommand");
        return super.afterCommand(session, request, reply);
    }

    @Override
    public FtpletResult onLogin(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onLogin");
        return super.onLogin(session, request);
    }

    @Override
    public FtpletResult onDeleteStart(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onDeleteStart");
        return super.onDeleteStart(session, request);
    }

    @Override
    public FtpletResult onDeleteEnd(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onDeleteEnd");
        return super.onDeleteEnd(session, request);
    }

    @Override
    public FtpletResult onUploadStart(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onUploadStart");
        return super.onUploadStart(session, request);
    }

    @Override
    public FtpletResult onUploadEnd(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onUploadEnd");
        return super.onUploadEnd(session, request);
    }

    @Override
    public FtpletResult onDownloadStart(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onDownloadStart");
        return super.onDownloadStart(session, request);
    }

    @Override
    public FtpletResult onDownloadEnd(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onDownloadEnd");
        return super.onDownloadEnd(session, request);
    }

    @Override
    public FtpletResult onRmdirStart(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onRmdirStart");
        return super.onRmdirStart(session, request);
    }

    @Override
    public FtpletResult onRmdirEnd(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onRmdirEnd");
        return super.onRmdirEnd(session, request);
    }

    @Override
    public FtpletResult onMkdirStart(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onMkdirStart");
        return super.onMkdirStart(session, request);
    }

    @Override
    public FtpletResult onMkdirEnd(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onMkdirEnd");
        return super.onMkdirEnd(session, request);
    }

    @Override
    public FtpletResult onAppendStart(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onAppendStart");
        return super.onAppendStart(session, request);
    }

    @Override
    public FtpletResult onAppendEnd(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onAppendEnd");
        return super.onAppendEnd(session, request);
    }

    @Override
    public FtpletResult onUploadUniqueStart(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onUploadUniqueStart");
        return super.onUploadUniqueStart(session, request);
    }

    @Override
    public FtpletResult onUploadUniqueEnd(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onUploadUniqueEnd");
        return super.onUploadUniqueEnd(session, request);
    }

    @Override
    public FtpletResult onRenameStart(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onRenameStart");
        return super.onRenameStart(session, request);
    }

    @Override
    public FtpletResult onRenameEnd(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onRenameEnd");
        return super.onRenameEnd(session, request);
    }

    @Override
    public FtpletResult onSite(FtpSession session, FtpRequest request) throws FtpException, IOException {
//        System.out.println("====================================== onSite");
        return super.onSite(session, request);
    }
}
